package com.vuej.support.spring;

import org.springframework.web.servlet.view.AbstractTemplateViewResolver;

public class VueViewResolver extends AbstractTemplateViewResolver {

    public VueViewResolver() {
        setViewClass(requiredViewClass());
    }

    public VueViewResolver(String prefix, String suffix) {
        this();
        setPrefix(prefix);
        setSuffix(suffix);
    }

    @Override
    protected Class<?> requiredViewClass() {
        return VueView.class;
    }

}
